import request from '@/utils/request'

// 查询指标维护明细列表
export function listDealIndicatorsMaintainDetails(query) {
  return request({
    url: '/details/dealIndicatorsMaintainDetails/list',
    method: 'get',
    params: query
  })
}

// 查询指标维护明细详细
export function getDealIndicatorsMaintainDetails(id) {
  return request({
    url: '/details/dealIndicatorsMaintainDetails/' + id,
    method: 'get'
  })
}

// 保存指标维护明细
export function saveDealIndicatorsMaintainDetails(data) {
  return request({
    url: '/details/dealIndicatorsMaintainDetails/save',
    method: 'post',
    data: data
  })
}

// 删除指标维护明细
export function delDealIndicatorsMaintainDetails(id) {
  return request({
    url: '/details/dealIndicatorsMaintainDetails/' + id,
    method: 'delete'
  })
}

// 导出指标维护明细
export function exportDealIndicatorsMaintainDetails(query) {
  return request({
    url: '/details/dealIndicatorsMaintainDetails/export',
    method: 'get',
    params: query
  })
}
